home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1992-09-29 | 1010 b | 30 lines |
- '*******************************************************
- '* *
- '* AMOS Professional Procedure Library *
- '* *
- '* Procedure: Slide Screen into View Routine *
- '* *
- '* Author: John Miaoulis *
- '* *
- '*******************************************************
- _SLIDE_INIT["amospro_Examples:iff/logo.iff",3]
-
- Procedure _SLIDE_INIT[A$,S]
- Screen Open 0,320,256,32,Lowres
- ' open screen
- Hide : Flash Off
- Load Iff A$
- ' load the pic
- Screen Display 0,,312,,0
- ' move screen display to hide screen and reduce size of screen
- For X=312 To 31 Step -S
- Screen Display 0,,(X/2)+30,,312-X
- ' slide pic up+inc size
- Wait Vbl
- Next
- Wait(100*S)
- ' wait speed*100
- Fade 5
- ' fade at speed 5
- Wait 50
- End Proc